//
//  OtherViewController.m
//  Food
//
//  Created by dlios on 15/7/17.
//  Copyright (c) 2015年 李志远. All rights reserved.
//

#import "OtherViewController.h"

@interface OtherViewController ()

@end

@implementation OtherViewController

- (void)dealloc
{
    [super dealloc];

}


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"餐馆其他信息";
    self.view.backgroundColor = RGBCOLOR(239, 248, 237);
    [self createView];
}


- (void)createView
{
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 20, 100, 20)];
    label.font = TEXTFONT;
    label.text = @"餐厅特色";
    [self.view addSubview:label];
    [label release];
    
    UILabel *details = [[UILabel alloc] initWithFrame:CGRectMake(10, 50, 300, 30)];
    details.font = TEXTFONT;
    details.backgroundColor = [UIColor whiteColor];
    details.layer.cornerRadius = 5;
    details.layer.masksToBounds = YES;
    details.text = self.str;
    [self.view addSubview:details];
    [details release];
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
